package com.pan.note.dao;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 秀恩爱说说实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("NoteMsg")
public class NoteDao implements Serializable {
    //id
    @TableId(value = "id")
    private String id;
    //说说内容
    @TableField(value = "note_msg")
    private String noteMsg;
    //谁发的说说
    @TableField(value = "note_user_id")
    private String noteUserId;
    //发说说人名字
    @TableField(value = "note_user_name")
    private String noteUserName;
    //说说权限（仅自己，仅好友，全部可见）
    @TableField(value = "note_permission")
    private String notePermission;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //修改时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
